//
//  TMInviteAwardCell.m
//  国学商家管理
//
//  Created by Tao Li on 2018/6/21.
//  Copyright © 2018年 mac. All rights reserved.
//

#import "TMInviteAwardCell.h"
#import "TMInvitationMoneyModel.h"

@implementation TMInviteAwardCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)setModel:(TMInvitationMoneyModel *)model{
    self.inviteAwardLabel.text =[NSString stringWithFormat:@"邀请奖励:%@", model.yao];
    self.useLabel.text = [NSString stringWithFormat:@"消费奖励:%@", model.xiao];
    self.canOutMoney.text = [NSString stringWithFormat:@"%.02f", model.balance];
    self.peoplennumber.text = [NSString stringWithFormat:@"%ld", model.person];
}
@end
